package com.hjw.inheritance.junit;

import com.hjw.inheritance.exer.Car;
import com.hjw.inheritance.exer.Vehicle;

/**
 * @author hjwStrart
 * @create 2022-01-12 11:11
 */
public class TestVehicle {
    public static void main(String[] args) {
        Vehicle vehicle = new Vehicle("benz", "black");
        vehicle.run();
        Car car = new Car("Honda","red",2);
        car.run();
    }
}
